package authorizationRMI;

import java.io.Serializable;

public class User implements Serializable
{
    private static final long serialVersionUID = 1L;
    private String username;
    private String pass;
    private String name;
    private int age;
    private String sex;
    
    public User(String user, String pass, String name, int age, String sex) {
        username = user;
        this.pass = pass;
        this.name = name;
        this.age = age;
        this.sex = sex;
    }

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return pass;
    }

    public String getName() {
        return name;
    }

    public int getAge() {
        return age;
    }

    public String getSex() {
        return sex;
    }
}
